package com.xiegang.servicePrice.remote;

import com.xiegang.internalcommon.dto.ForecastPriceDto;
import com.xiegang.internalcommon.dto.ResponseResult;
import com.xiegang.internalcommon.response.DriectionResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * @author xieGang
 * @description
 * @date 2023/3/13 16:27
 **/

@FeignClient(name = "service-map")
public interface ServiceMapClient {

    @RequestMapping(method = RequestMethod.POST ,value = "/driving")
    public ResponseResult<DriectionResponse> driving(@RequestBody ForecastPriceDto forecastPriceDto);
}
